package com.bd.scm.domain.dto.visitorDto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 访客单审批列表DTO。
 * Created with IntelliJ IDEA.
 * User: Mason
 * Date: 2020年9月18日 13:54:26
 */
@Data
public class VisitOrderDto implements Serializable {

    private static final long serialVersionUID = 1L;
    /*单子id*/
    private Long orderId;
    /*单子编号*/
    private String orderNo;
    /*被访人姓名*/
    private String employeeName;
    /**被访问人英文名称*/
    private String userNameEn;
    /*基地名称*/
    private String visitorsBase;
    /**访客基地Id*/
    private Integer visitorsBaseId;
    /*访客姓名*/
    private String visitorsName;
    /*访客类型*/
    private int visitorsType;
    /*随行人员*/
    private String visitorsEntourage;
    /*审批过之后的结果  2：驳回，3：通过*/
    private int approveStatus;
    /*审批状态，1：待审批，2：已审批*/
    private int status;
    /* 创建时间*/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    /*访客数量*/
    private Integer visitFollowCount;
    /*访问区域*/
    private String visitArea;
    /**访客区域Id*/
    private Integer visitorsAreaId;
    /*单位名称*/
    private String visitorCompany;
}
